package Filesharing;

import java.io.Serializable;

public class FileModel implements Serializable{

	private String fileId;
	private String fileName;
	private String showFileName;
	private String description;
	private String filePath;
	private String uploaderId;
	private String dtmUpload;
	private String dtmupd;
	
	//utk sharing materi (schedule)
	private Integer batchClassId;
	
	//check file exist (download & open file)
	private Boolean isFileExist;
	
	public String getFileId() {
		return fileId;
	}
	public void setFileId(String fileId) {
		this.fileId = fileId;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	public String getUploaderId() {
		return uploaderId;
	}
	public void setUploaderId(String uploaderId) {
		this.uploaderId = uploaderId;
	}
	public String getDtmUpload() {
		return dtmUpload;
	}
	public void setDtmUpload(String dtmUpload) {
		this.dtmUpload = dtmUpload;
	}
	public String getDtmupd() {
		return dtmupd;
	}
	public void setDtmupd(String dtmupd) {
		this.dtmupd = dtmupd;
	}
	public Integer getBatchClassId() {
		return batchClassId;
	}
	public void setBatchClassId(Integer batchClassId) {
		this.batchClassId = batchClassId;
	}
	public String getShowFileName() {
		return showFileName;
	}
	public void setShowFileName(String showFileName) {
		this.showFileName = showFileName;
	}
	public Boolean getIsFileExist() {
		return isFileExist;
	}
	public void setIsFileExist(Boolean isFileExist) {
		this.isFileExist = isFileExist;
	}
	
	@Override
	public String toString() {
		String s = "	FileModel\n";
		s+= "fileId : "+ fileId + "  ";
		s+= "showFileName : "+ showFileName + "  ";
		s+= "fileName : "+ fileName+ "  ";
		s+= "description : "+ description+ "  ";
		s+= "filePath : "+ filePath+ "  ";
		s+= "uploaderId : "+ uploaderId+ "  ";
		s+= "dtmUpload : "+ dtmUpload+ "  ";
		s+= "dtmupd : "+ dtmupd+ "  ";
		s+= "batchClassId : "+ batchClassId+ "\n";
		return s;
	}
	
}
